#ifndef __HAVE_RENDERER
#define __HAVE_RENDERER

#ifdef MSVC
	#include "SDL_image.h"
#else
	#include "SDL/SDL_image.h"
#endif

#include "logger.h"
#include "constants.h"

SDL_Surface *load_image( const char * filename );
void apply_surface(int x, int y, SDL_Surface* source, SDL_Surface* destination, SDL_Rect* clip = NULL);
SDL_Surface* CreateSurface(int width,int height, SDL_Surface* display);
bool set_font(const char * filename);
bool display_message(const char * message = NULL, int x = SCREEN_WIDTH/2, int y = SCREEN_HEIGHT/2);
bool display_info(const char * message);
bool display_score(int score);
SDL_Surface* transparent_sprite(SDL_Surface * sprite);
//#include "renderer.cpp"
#endif
